package  com.pcbly.web.business.calendar;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.calendar.CalendarEventBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface CalendarEventService extends BaseService<CalendarEventBean> {

	CalendarEventBean getCalendarEventBeanById(String id) throws Exception;
	
	void removeCalendarEventBeanById(String id) throws Exception;
	
	void removeCalendarEventBeanByIds(String ids) throws Exception;
	
	CalendarEventBean saveCalendarEventBean(CalendarEventBean calendar) throws Exception;
	
	CalendarEventBean updateCalendarEventBean(CalendarEventBean calendar) throws Exception;
	Page<CalendarEventBean>  findCalendarEventBeanByCond(CalendarEventBean bean,
			Page<CalendarEventBean> page, String orderByName, boolean asc)
			throws Exception;
}